﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DF5 RID: 3573
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RelicAvatarRecommendCsReq : IMessage<RelicAvatarRecommendCsReq>, IMessage, IEquatable<RelicAvatarRecommendCsReq>, IDeepCloneable<RelicAvatarRecommendCsReq>, IBufferMessage
	{
		// Token: 0x17002D5D RID: 11613
		// (get) Token: 0x0600A05F RID: 41055 RVA: 0x001ACCF8 File Offset: 0x001AAEF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RelicAvatarRecommendCsReq> Parser
		{
			get
			{
				return RelicAvatarRecommendCsReq._parser;
			}
		}

		// Token: 0x17002D5E RID: 11614
		// (get) Token: 0x0600A060 RID: 41056 RVA: 0x001ACCFF File Offset: 0x001AAEFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RelicAvatarRecommendCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002D5F RID: 11615
		// (get) Token: 0x0600A061 RID: 41057 RVA: 0x001ACD11 File Offset: 0x001AAF11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RelicAvatarRecommendCsReq.Descriptor;
			}
		}

		// Token: 0x0600A062 RID: 41058 RVA: 0x001ACD18 File Offset: 0x001AAF18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicAvatarRecommendCsReq()
		{
		}

		// Token: 0x0600A063 RID: 41059 RVA: 0x001ACD20 File Offset: 0x001AAF20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicAvatarRecommendCsReq(RelicAvatarRecommendCsReq other) : this()
		{
			this.relicSetId_ = other.relicSetId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A064 RID: 41060 RVA: 0x001ACD45 File Offset: 0x001AAF45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicAvatarRecommendCsReq Clone()
		{
			return new RelicAvatarRecommendCsReq(this);
		}

		// Token: 0x17002D60 RID: 11616
		// (get) Token: 0x0600A065 RID: 41061 RVA: 0x001ACD4D File Offset: 0x001AAF4D
		// (set) Token: 0x0600A066 RID: 41062 RVA: 0x001ACD55 File Offset: 0x001AAF55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RelicSetId
		{
			get
			{
				return this.relicSetId_;
			}
			set
			{
				this.relicSetId_ = value;
			}
		}

		// Token: 0x0600A067 RID: 41063 RVA: 0x001ACD5E File Offset: 0x001AAF5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RelicAvatarRecommendCsReq);
		}

		// Token: 0x0600A068 RID: 41064 RVA: 0x001ACD6C File Offset: 0x001AAF6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RelicAvatarRecommendCsReq other)
		{
			return other != null && (other == this || (this.RelicSetId == other.RelicSetId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A069 RID: 41065 RVA: 0x001ACD9C File Offset: 0x001AAF9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.RelicSetId != 0U)
			{
				num ^= this.RelicSetId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A06A RID: 41066 RVA: 0x001ACDDB File Offset: 0x001AAFDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A06B RID: 41067 RVA: 0x001ACDE3 File Offset: 0x001AAFE3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A06C RID: 41068 RVA: 0x001ACDEC File Offset: 0x001AAFEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RelicSetId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.RelicSetId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A06D RID: 41069 RVA: 0x001ACE20 File Offset: 0x001AB020
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.RelicSetId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RelicSetId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A06E RID: 41070 RVA: 0x001ACE5E File Offset: 0x001AB05E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RelicAvatarRecommendCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.RelicSetId != 0U)
			{
				this.RelicSetId = other.RelicSetId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A06F RID: 41071 RVA: 0x001ACE8F File Offset: 0x001AB08F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A070 RID: 41072 RVA: 0x001ACE98 File Offset: 0x001AB098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.RelicSetId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003DDB RID: 15835
		private static readonly MessageParser<RelicAvatarRecommendCsReq> _parser = new MessageParser<RelicAvatarRecommendCsReq>(() => new RelicAvatarRecommendCsReq());

		// Token: 0x04003DDC RID: 15836
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003DDD RID: 15837
		public const int RelicSetIdFieldNumber = 11;

		// Token: 0x04003DDE RID: 15838
		private uint relicSetId_;
	}
}
